package com.library.forms;

import java.util.ArrayList;
import java.util.Iterator;

/**
 *
 * @author mAbraha
 */
public class Reservation {   
    private Member myMember;
    private Publication myPublication;

    public Reservation(Member myMember,Publication myPublication) {
        this.myMember = myMember;
        this.myPublication=myPublication;
         }

    public void setMyPublication(Publication myPublication) {
        this.myPublication = myPublication;
    }

    public Publication getMyPublication() {
        return myPublication;
    }

    public Member getMyMember() {
        return myMember;
    }

    public void setMyMember(Member myMember) {
        this.myMember = myMember;
    }

   

    
    
    public void println()
    {  
        
        this.myMember.print();
        this.myPublication.print();
     
    }
   
    
}
